package com.ruoyi.stuclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.stuclient.domain.EwcHomeworkSubmission;
import com.ruoyi.stuclient.domain.dto.HomeworkSubmitDto;

import javax.validation.constraints.NotBlank;

/**
 * 课后作业提交Service接口
 * 
 * @author lcj
 * @date 2025-02-28
 */
public interface IEwcHomeworkSubmissionService extends IService<EwcHomeworkSubmission> {
    EwcHomeworkSubmission ewcHomeworkSubmission = new EwcHomeworkSubmission();
    String homeworkSubmission(HomeworkSubmitDto homeworkSubmitDto);

    EwcHomeworkSubmission getSubmissionHomework(@NotBlank(message = "作业唯一标识不能为空") String homeworkId);

    Boolean deleteSubmissionHomework(@NotBlank(message = "作业唯一标识不能为空") String homeworkId);
}
